package com.ruoyi.course.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题库管理对象 question_base
 * 
 * @author ruoyi
 * @date 2023-09-27
 */
public class QuestionBase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 题库名称 */
    @Excel(name = "题库名称")
    private String name;

    /** 题库类别 */
    @Excel(name = "题库类别")
    private String type;

    /** 单项选择题 */
    @Excel(name = "单项选择题")
    private Long single;

    /** 单项选择题 */
    @Excel(name = "单项选择题")
    private Long multiple;

    /** 判断题 */
    @Excel(name = "判断题")
    private Long t1;

    /** 填空题 */
    @Excel(name = "填空题")
    private Long t2;

    /** 简答题 */
    @Excel(name = "简答题")
    private Long t3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setSingle(Long single) 
    {
        this.single = single;
    }

    public Long getSingle() 
    {
        return single;
    }
    public void setMultiple(Long multiple) 
    {
        this.multiple = multiple;
    }

    public Long getMultiple() 
    {
        return multiple;
    }
    public void setT1(Long t1) 
    {
        this.t1 = t1;
    }

    public Long getT1() 
    {
        return t1;
    }
    public void setT2(Long t2) 
    {
        this.t2 = t2;
    }

    public Long getT2() 
    {
        return t2;
    }
    public void setT3(Long t3) 
    {
        this.t3 = t3;
    }

    public Long getT3() 
    {
        return t3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("type", getType())
            .append("single", getSingle())
            .append("multiple", getMultiple())
            .append("t1", getT1())
            .append("t2", getT2())
            .append("t3", getT3())
            .toString();
    }
}
